using System;
using System.Data.Linq;
namespace MicroMsg.Storage
{
	public class StorageMapping
	{
		public virtual bool isAvailable()
		{
			return StorageDB.bInit;
		}
		public virtual DataContext getDB()
		{
			return StorageDB.db_handle;
		}
		public virtual DataContext newDB()
		{
			return new LinqDB();
		}
	}
}
